package cn.bs.seckill.mapper;

import cn.bs.seckill.pojo.Goods;
import cn.bs.seckill.vo.GoodsVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口 获取商品详情列表
 * </p>
 *
 * @author 布索
 * @since 2022-03-01
 */
@Mapper
public interface GoodsMapper extends BaseMapper<Goods> {

    List<GoodsVo> findGoodsVo();

    GoodsVo findGoodsVoByGoodsId(Long goodsId);
}
